package com.zzl.study.demo.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * 未来预报
 *
 * @author: zhangzl
 * @date: 2025/10/9 14:14
 * @version: 1.0
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public record DailyForecast(@JsonProperty("time") List<String> time,
                            @JsonProperty("temperature_2m_max") List<Double> tempMax,
                            @JsonProperty("temperature_2m_min") List<Double> tempMin,
                            @JsonProperty("precipitation_sum") List<Double> precipitationSum,
                            @JsonProperty("weather_code") List<Integer> weatherCode,
                            @JsonProperty("wind_speed_10m_max") List<Double> windSpeedMax,
                            @JsonProperty("wind_direction_10m_dominant") List<Integer> windDirection) {
}
